<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class UserAskForGood extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'user_ask_for_goods';

    public function users(){
        return $this->belongsTo(User::class,"user_id");
    }

    public function goods(){
        return $this->belongsTo(Goods::class);
    }
}
